package a2025_02_25;

public class MyThread extends java.lang.Thread {
    @Override
    public void run() {
        for(int i=0;i<10;i++){
            try {
                MyThread.sleep(1000);
            } catch (InterruptedException e) {
                throw new RuntimeException(e);
            }
            System.out.println(i);
        }
    }
}
